package com.firefly.dao.dao.shop.po;


import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.baomidou.mybatisplus.annotation.*;

/**
 * (Goods)表实体类
 *
 * @author makejava
 * @since 2022-12-26 10:23:56
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(value = {"handler"})
@TableName("shop_good")
public class GoodPo implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String title;
    private String thumb;
    private String video;
    private String album;
    private String description;
    private String content;
    private BigDecimal price;
    private Integer sales;
    private Integer realSales;
    private LocalDateTime lasttime;
    private LocalDateTime lowertime;
    private Integer sort;
    private Integer isPos;
    private Integer isHot;
    private Integer isNew;
    private Integer limitNum;
    private Integer limitArea;
    private Integer limitNew;
    private Integer status;
    private Integer delFlag;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;

}

